Taking account of information relating to the environment of active nodes when determining the code associated with an active application

ABSTRACT

An active node including means for receiving an active message, said active message containing an active application identifier, means for transmitting said active application identifier to an active applications server, and means for receiving associated code from said active applications server and for executing it. It further comprises means for transmitting to said active applications server information relating to its own environment.

[0001] The present invention relates to telecommunications networks in which the nodes are capable of applying specific processing to the information messages they receive.

[0002] The invention applies particularly to active networks.

BACKGROUND OF THE INVENTION

[0003] The concept of an active network was put forward in the work by the Defense Advanced Research Projects Agency (DARPA) in 1994 and constitutes the subject of several international conferences, for example International Workshop on Active Networks, IWAN 99 or IWAN 2000.

[0004] An active network is a network in which the nodes, or at least some of them, are capable of applying specific processing to some of the messages conveyed by the network. In other words, this means that such nodes must be capable of running an algorithm other the algorithms that have been available to them since their original design.

[0005] Within an active network, all nodes are not necessarily provided with this processing ability: one can thus distinguish between active nodes and non-active nodes (i.e. normal nodes).

[0006] In the same way, not all messages necessarily require specific processing: one can thus distinguish between active messages (or packets) and non-active (or normal) messages.

[0007] In conventional manner, an active message may contain an identifier of an active application. On receiving an active message, an active router can execute the code associated with said active application.

[0008] Nevertheless, an active node has limited storage resources, while the number of active applications is, a priori, unlimited.

[0009] Thus, one solution in the state of the art consists in providing a server of active applications such that on receiving an active message, an active node contacts the active applications server in order to download the code that corresponds to the active application identified by the active message.

[0010] Nevertheless, that state-of-the-art solution is insufficient since it assumes that an active application has only one possible code corresponding thereto. Unfortunately, the Applicant has observed that a given active application can give rise to different codes as a function of specific features of the active node.

[0011] For example, the various active nodes in an active network can possess different execution environments. This typically applies when they come from different suppliers and/or when they implement different operating systems (a proprietary operating system specific to a particular supplier, an operating system of the UNIX type, etc.).

[0012] Another example is the function of the active node. A conventional case is the distinction drawn between core routers (i.e. routers internal to a given network), and edge routers (i.e. routers at the boundaries of a network).

OBJECTS AND SUMMARY OF THE INVENTION

[0013] The object of the present invention is to enable specific features of the active network to be taken into account when determining which code corresponds to an active application.

[0014] To do this, in a first aspect, the present invention provides a node including means for receiving an active message, said active message containing an active application identifier, means for transmitting the active application identifier to an active applications server, and means for receiving associated code from said active applications server and for executing it. This node further comprises means for transmitting to said active applications server information relating to its own environment.

[0015] In a second aspect, the invention provides an active applications server including means for receiving an active application identifier from an active node, association means for determining an associated code depending on said active application identifier, and means for downloading said associated code to said active node. This active applications server further comprises means for receiving information relating to the environment of the active node and the association means determines the associated code as a function of said information.

[0016] Finally, in a third aspect, the invention provides a method of forwarding an active message via an active node, the method consisting in:

[0017] receiving the active message, the active message containing at active application identifier;

[0018] sending a request message to an active applications server, the message containing said active application identifier;

[0019] in the active applications server, determining an associated code as a function of the active application identifier;

[0020] downloading said associated code to the active node; and

[0021] executing the associated code and forwarding the active message to a following active node. In the method, the request message further contains information relating to the environment of the active node, and the associated code is determined as a function of said information.

[0022] In an implementation of the invention, the information relating to the environment comprises an identifier of the execution environment of the active node.

[0023] In an implementation of the invention, the information relating to the environment comprises an identifier of the core/edge characteristic of the active node.

[0024] In an implementation of the invention, the request message complies with the hypertext transfer protocol (HTTP).

BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The invention and its advantages appear more clearly from the following description of implementations given with reference to the accompanying figures.

[0026]FIG. 1 shows a first implementation of the invention.

[0027]FIG. 2 is a diagram of the association means for said first implementation.

[0028]FIG. 3 shows a second implementation of the invention.

[0029]FIG. 4 is a diagram of the association means in the second implementation.

MORE DETAILED DESCRIPTION

[0030]FIG. 1 shows an active network AN made up of active nodes or “routers” R₁, R₂, R₃, . . . , R_(n).

[0031] An active message is received by the network and is transmitted via the active nodes of the network. Such an active node contains the identifier of an active application.

[0032] On receiving an active message, the active node R₁ sends a request message Req₁ to an active applications server S, which message contains the identifier of the active application. The node also transmits information relating to its own environment.

[0033] In this implementation, the environment information can comprise an identifier of the associated execution environment: operating system, available additional modules, supplier of the active node, . . . .

[0034] The applications server S possesses means for receiving both types of identifier and means for making associations between identifiers of active applications, information relating to the environments of active nodes, and associated code.

[0035] By way of example, the association means can be in the form of a correspondence table as shown in FIG. 2.

[0036] In the correspondence table T, the left-hand column represents identifiers of applications A₁, A₂, A₃, . . . , A_(p).

[0037] The middle column contains information relating to active nodes. In this embodiment, only the supplier of active nodes is taken into account in order to clarify the description. Two different suppliers F₁ and F₂ are shown.

[0038] The right-hand column represents the associated code. For example, it can be constituted by a pointer to memory space containing the code.

[0039] Thus, if the active message contains the identifier of application A₂ and if the active node R₁ comes from supplier F₁, then the associated code is the code C₂₁.

[0040] This associated code C₂₁ is then downloaded to the active node R₁ where it can be executed.

[0041] The active message can then be transmitted to node R₂. It is assumed that this active node comes from supplier F₂.

[0042] On receiving the active message, the active node then transmits a request message Req₂ containing both an identifier of its supplier F₂ and the identifier of the active application A₂. The active applications server S can then use the association means T shown in FIG. 2 to determine that the code for downloading is the code C₂₂. The node R₂ can then execute this code C₂₂ which is suitable for said node.

[0043]FIG. 3 shows a second implementation of the invention.

[0044] The active network AN comprises active nodes R₁, R₂, R₃, . . . , R_(n). The active nodes R₁ and R₃ are edge routers while the nodes R₂ and R_(n) are core routers. Edge routers can communicate outside the network AN, whereas core routers communicate only with other nodes in the active network.

[0045] This distinction can have an influence on the architectures of these different types of node:

[0046] core nodes are more specifically dedicated to routing messages and possesses increased routing hardware capacity to the detriment of software capacity; and

[0047] in contrast, edge routers possess greater software capacity since they generally need to be able to implement a wider range of functions (controlling access, etc.).

[0048] When an active message is received by an edge router, for example R₁, it transmits both the identifier of the active application it contains and also information relating to its own environment, i.e. in this implementation of the invention, an identifier specifying the core/edge characteristic of the active node concerned.

[0049] Thus, when the active node R₁ receives an active message, it sends a request message Req₁ to the active applications server S, which message contains both an identifier of the active application contained in the active message it has received, and an identifier specifying the core/edge characteristic of the active node in question.

[0050] The active applications server S has means for receiving both of these types of identifier, and association means for determining associated code, as a function of the two identifiers.

[0051] One possible implementation of this association means is shown in FIG. 4. In this implementation, the association means is a correspondence table T.

[0052] The first column represents the identifier of the active application. In this example its value is either A₁ or A₂.

[0053] The second column represents the core node or edge node function. It can take two values: “edge” and “core”.

[0054] Finally, the third column represents the associated code, C_(1edge), C_(1core), C_(2edge), and C_(2core).

[0055] If the active message received by R₁ contains the identifier of active application A₂, then the active node R₁ transmits to the active applications server S a request message Req₁ containing both said identifier of active application A₂ and the identifier of its own core/edge characteristic which in this case is “edge”.

[0056] The active applications server S uses the association means T to determine that the associated code is the code C_(2edge).

[0057] This code C_(2edge) can then be downloaded to the requesting active node R₁ so as to be executed thereon.

[0058] The active node R₁ can then forward the active message to active node R₂ which is a core node (i.e. a node which does not possess any communications links to nodes situated outside the active network in question).

[0059] As before, on receiving the active message, the active node R₂ sends a request message Req₂ to the active applications server 2, which message contains both an identifier of the active application A₂ and an identifier of the nodes own core/edge characteristic, which in this case is “core”.

[0060] As before, the active applications server S can use its association means T to determine that the associated code is the code C_(2core).

[0061] The code C_(2core) is then downloaded to the requesting active node R₂. The active node R₂ can then execute the code and forward the active message to the following node, for example active node R₃.

[0062] The invention is not limited to the above-described embodiments but can be applied to any kind of information concerning the environment of the active nodes.

[0063] Specifically, the invention applies to combining a plurality of types of information relating to the environments of active nodes.

[0064] For example, an active node can transmit both an identifier of its supplier and an identifier specifying its core/edge characteristic.

[0065] In a particular embodiment, communication between the active nodes and the active applications server, i.e. the request messages Req₁ and Req₂ takes place using the HTTP. In this embodiment, the information about the environment of the active node is transmitted to the active applications server using one of the methods that comply with the HTTP, and the corresponding active code is returned in a manner that is in compliance with said HTTP.

[0066] However the present invention is not limited to this implementation and it could be implemented using any other protocol for communication and data exchange. For example it could be an application protocol such as file transfer protocol (FTP) or a non-application protocol (communication by sockets, . . . ). It could also be a secure protocol such as the secure socket layer (SSL). 

1/ An active node including means for receiving an active message, said active message containing an active application identifier, means for transmitting said active application identifier to an active applications server, and means for receiving associated code from said active applications server and for executing it, the node further comprising means for transmitting to said active applications server information relating to its own environment. 2/ An active node according to the preceding claim, in which said information relating to the environment comprise an identifier of the execution environment of said active node. 3/ An active node according to claim 1, in which said information relating to the environment comprises an identifier of a core/edge characteristic of said active node. 4/ An active applications server including means for receiving an active application identifier from an active node, association means for determining an associated code depending on said active application identifier, and means for downloading said associated code to said active node, the server further comprising means for receiving information relating to the environment of said active node and said association means determining said associated code as a function of said information. 5/ An active applications server according to the preceding claim, in which said information relating to the environment comprises an identifier of the execution environment of said active node. 6/ An active applications server according to claim 4, in which said information relating to the environment comprises an identifier of the core/edge characteristic of said active node. 7/ A method of forwarding an active message via an active node, the method consisting in: receiving said active message, said active message containing at active application identifier; sending a request message to an active applications server, the message containing said active application identifier; in said active applications server, determining an associated code as a function of said active application identifier; downloading said associated code to said active node; and executing said associated code and forwarding the active message to a following active node; wherein said request message further contains information relating to the environment of said active node, and wherein the associated code is determined as a function of said information. 8/ A method according to the preceding claim, in which said information relating to the environment comprises an identifier of the execution environment of said active node. 9/ A method according to claim 7, in which said information relating to the environment comprises an identifier of the core/edge characteristic of said active node. 10/ A method according to claim 7, in which said request message complies with the HTTP protocol. 